package com.slz3.business.frame.module;

import com.slz3.business.frame.util.RedisClient;
import com.slz3.business.module.apiAliyun.aliyunOSS.client.AliyunOSSClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ApiClients {

    public static AliyunOSSClient aliyunOSS;
    public static RedisClient redis;

    @Autowired
    public void setAliyunOSS(AliyunOSSClient aliyunOSS) {
        this.aliyunOSS = aliyunOSS;
    }

    @Autowired
    public void setRedis(RedisClient redis){
        this.redis=redis;
    }
}
